import request from "../utils/request";

const api_url = `/api/ucenter/wx`


export default {


    //查询支付状态
    queryPayStatus(orderId) {
        return request({
            url: `/api/order/weixin/queryPayStatus/${orderId}`,
            method: 'get'
        })
    },


    //生成二维码
    createNative(orderId) {
        return request({
            url: `/api/order/weixin/createNative/${orderId}`,
            method: 'get'
        })
    },


    //发送验证码
    getLoginParam() {
        return request({
            url: `${api_url}/getLoginParam`,
            method: `get`
        })
    }
}
